import com.google.common.collect.Lists;

import java.util.List;

/**
 * Created by yan_li on 2016/12/16.
 */
public class TestOOM {

//    public  static String getHello(List<String> li){
//        return "";
//    }
//
//    public static int getHello(List<Integer> li){
//        return 0;
//    }

    public static void main(String[] args) throws InterruptedException {
        List<String> li = Lists.newArrayList();
        String src="13212";
        for(int i=0;i<20000;i++){
            src+="eqweqweasdasdasdasdasdasdasdas";
            System.out.println(i);
        }
        System.out.println("===================================");
        while(true){
            li.add("asdfsdfsd");
            Thread.sleep(200);
        }
    }
}
